package wf.source.hrm.service;

import com.baomidou.mybatisplus.service.IService;
import wf.source.hrm.domain.Course;
import wf.source.hrm.es.doc.EsCourse;
import wf.source.hrm.query.CourseQuery;
import wf.source.hrm.util.PageList;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangfang
 * @since 2020-06-26
 */
public interface ICourseService extends IService<Course> {
    /**
     * 上线或下线
     * @param ids
     * @param flag
     */
    void onLineOrOffLine(List<Long> ids, int flag);

    PageList<EsCourse> queryCourseEs(CourseQuery query);
}
